package store.lunangangster.engine.impl.entity.mgr;

import java.util.List;
import store.lunangangster.bpmn.model.Task;
import store.lunangangster.engine.impl.entity.ExecutionEntity;
import store.lunangangster.engine.impl.entity.TaskEntity;

public interface TaskEntityManager extends EntityManager<TaskEntity> {

  TaskEntity createTaskByExecutionAndUserTask(ExecutionEntity execution, Task task);

  List<TaskEntity> selectTaskByExecutionId(String executionId);

  void deleteTask(String taskId);
}
